Alexander Larsson [Mon, 28 Jul 2014 13:20:52 +0000 (15:20 +0200)]
textview: Add draw_layer vfunc
This allows subclasses to render things below and above the text
in the text view. This allows e.g. GtkSourceView to highlight the
cursor row and to render overlays for colum 80. This used to be done
by rendering before/after chaining up to the parent, but that doesn't
work anymore since the view now renders a background, and due to the
use of the pixel cache.
Alexander Larsson [Sun, 27 Jul 2014 13:41:01 +0000 (15:41 +0200)]
Revert "GtkTextView: Fix regression in GtkSourceView drawing"
This reverts commit
1ac13435b7c14dd9b97ad7a9d292acd51337d66e.
We want to instead replace this with special vfunc for drawing
below/above the main text so that gtksourceview can use it.
Lapo Calamandrei [Mon, 28 Jul 2014 13:34:03 +0000 (15:34 +0200)]
Adwaita: fix a typo
Lapo Calamandrei [Mon, 28 Jul 2014 10:42:23 +0000 (12:42 +0200)]
Adwaita: button drawing function rework...
...to take colored buttons into considerations, so buttons on
colored background works better now (infobars and the like).
Paolo Borelli [Mon, 28 Jul 2014 10:20:48 +0000 (12:20 +0200)]
textview: document text mark properties
Georges Neto [Mon, 28 Jul 2014 04:27:57 +0000 (04:27 +0000)]
Updated Brazilian Portuguese translation
Jakub Steiner [Sun, 27 Jul 2014 11:39:02 +0000 (13:39 +0200)]
Adwaita: remove shadows from progressbars
Aurimas Černius [Sat, 26 Jul 2014 21:48:53 +0000 (00:48 +0300)]
Updated Lithuanian properties translation
Jasper St. Pierre [Sat, 26 Jul 2014 13:46:56 +0000 (09:46 -0400)]
gdkdevice-wayland: Fix compile warnings
These are signed, not unsigned.
Matthias Clasen [Fri, 25 Jul 2014 18:41:55 +0000 (14:41 -0400)]
icon-browser: Add open-menu to the list
Jasper St. Pierre [Fri, 25 Jul 2014 13:37:06 +0000 (09:37 -0400)]
wayland-device: Upgrade to v4 of seat
Get our keyboard repeat info from the server.
Jasper St. Pierre [Fri, 25 Jul 2014 13:41:48 +0000 (09:41 -0400)]
wayland-device: Upgrade to v3 of seat
To prevent memory leaks.
Jasper St. Pierre [Fri, 25 Jul 2014 13:38:22 +0000 (09:38 -0400)]
wayland-device: Handle v2 of seat
Jasper St. Pierre [Fri, 25 Jul 2014 13:32:55 +0000 (09:32 -0400)]
wayland-device: Refactor a bit
Delay the keyboard settings creation until we're delivering the key
press. This means we don't have to create the settings for a server that
sends us repeat information.
Jasper St. Pierre [Fri, 25 Jul 2014 13:27:22 +0000 (09:27 -0400)]
wayland-device: Reindent
Alejandro Piñeiro [Wed, 23 Jul 2014 15:56:59 +0000 (17:56 +0200)]
a11y: unref selected item only if it is not NULL
https://bugzilla.gnome.org/show_bug.cgi?id=733610
Руслан Ижбулатов [Thu, 24 Jul 2014 13:41:51 +0000 (13:41 +0000)]
Remove gdk_win32_input_shape_combine_region()
This function currently calls gdk_win32_window_shape_combine_region(),
which is wrong, because it leads to SetWindowRgn() being called with
non-NULL region, which makes W32 disable theming (particularly - decoration
theming), which makes decorations revert back to old GDI-drawn Windows 2000
variant, which looks out of place and interacts *badly* with alpha channel
(because GDI).
https://bugzilla.gnome.org/show_bug.cgi?id=733671
Matthias Clasen [Thu, 24 Jul 2014 12:29:12 +0000 (08:29 -0400)]
inspector: Show the buildable ID in the misc tab
This is useful, since you sometimes want to use it as #id in css.
Matthias Clasen [Thu, 24 Jul 2014 12:14:54 +0000 (08:14 -0400)]
inspector: Prepare misc tab for showing non-widgets
This will happen in the near future.
Ignacio Casal Quinteiro [Thu, 24 Jul 2014 06:34:02 +0000 (08:34 +0200)]
testtreemodel: fix unused variable on windows
Ignacio Casal Quinteiro [Wed, 23 Jul 2014 21:27:46 +0000 (23:27 +0200)]
win32: remove set but not used variables
Matthias Clasen [Wed, 23 Jul 2014 18:11:22 +0000 (14:11 -0400)]
GtkPlacesSidebar: Fix editing of bookmarks
This was silently broken - the code was just assuming that the
text cell renderer is item no. 6 on the list of all cells. That
doesn't work so well if the cell renderers are set up elsewhere
and get rearranged.
Fix this by keeping an explicit pointer to the the text cell.
Matthias Clasen [Wed, 23 Jul 2014 17:39:38 +0000 (13:39 -0400)]
GtkPathBar: Use symbolic icons
This fits better with the symbolic icons we use in the places
sidebar now.
Matthias Clasen [Wed, 23 Jul 2014 17:39:23 +0000 (13:39 -0400)]
GktFileSystem: Support rendering symbolic icons
Benjamin Otte [Wed, 23 Jul 2014 16:50:28 +0000 (18:50 +0200)]
reftest: Add reftest for CSS sizing fix
The test uses a GtkBox for rendering the background, but it could use
any other widget that is not used in the reference.
Benjamin Otte [Wed, 23 Jul 2014 16:40:55 +0000 (18:40 +0200)]
cssimage: Fix size computation for -gtk-icontheme()
For images without a concrete size but with an aspect ratio, we took the
wrong code path.
(I even copied the documentation that said "Otherwise" but didn't put an
else clause there, go me!)
Matthias Clasen [Wed, 23 Jul 2014 16:42:27 +0000 (12:42 -0400)]
GtkPathBar: Set style classes on buttons
Set text-button/image-button on these, just like we do for
buttons everywhere else.
Matthias Clasen [Wed, 23 Jul 2014 16:42:08 +0000 (12:42 -0400)]
GtkPathBar: Don't use GtkArrow
Instead, use an image button.
Lapo Calamandrei [Wed, 23 Jul 2014 15:53:31 +0000 (17:53 +0200)]
Adwaita: spinbutton button hover visible on the dark variant
Lapo Calamandrei [Wed, 23 Jul 2014 13:25:22 +0000 (15:25 +0200)]
Adwaita: entry icons position fix
Lapo Calamandrei [Wed, 23 Jul 2014 11:31:05 +0000 (13:31 +0200)]
Adwaita: backdrop check/radio fix
Set the correct color wrt the dark variant for checks/radios on
selected treeview rows.
Lapo Calamandrei [Wed, 23 Jul 2014 11:26:36 +0000 (13:26 +0200)]
Adwaita: GtkCalendar style simplification
Lapo Calamandrei [Wed, 23 Jul 2014 10:33:20 +0000 (12:33 +0200)]
Adwaita: accelerators
Ignacio Casal Quinteiro [Wed, 23 Jul 2014 08:43:41 +0000 (10:43 +0200)]
gtk-demo: include missing file on EXTRA_DIST
Matthias Clasen [Tue, 22 Jul 2014 22:50:31 +0000 (18:50 -0400)]
Add a test for matching with states
Matthias Clasen [Tue, 22 Jul 2014 22:32:02 +0000 (18:32 -0400)]
Add some tests for GtkAdjustment
Matthias Clasen [Tue, 22 Jul 2014 19:32:45 +0000 (15:32 -0400)]
widget-factory: Avoid a runtime warning
Don't set accelerators too early. GTK+ has not yet been initialized
at that point in main.
Lapo Calamandrei [Tue, 22 Jul 2014 18:26:43 +0000 (20:26 +0200)]
Adwaita: vertical spinbutton rtl fix
Lapo Calamandrei [Tue, 22 Jul 2014 18:21:30 +0000 (20:21 +0200)]
Adwaita: position needs-attention dot in rtl
Lapo Calamandrei [Tue, 22 Jul 2014 18:09:18 +0000 (20:09 +0200)]
Adwaita: correct color on insensitive check/radio labels
Lapo Calamandrei [Tue, 22 Jul 2014 18:02:06 +0000 (20:02 +0200)]
Adwaita: some more assets refresh
Lapo Calamandrei [Tue, 22 Jul 2014 17:50:15 +0000 (19:50 +0200)]
Adwaita: .needs-attention dark variant style
Lapo Calamandrei [Tue, 22 Jul 2014 17:13:34 +0000 (19:13 +0200)]
Adwaita: graphic assets refresh
Piotr Drąg [Tue, 22 Jul 2014 15:45:54 +0000 (17:45 +0200)]
Updated POTFILES.skip
Ignacio Casal Quinteiro [Tue, 22 Jul 2014 15:21:37 +0000 (17:21 +0200)]
gtkselection: fix warnings of unused vars on win32
Benjamin Otte [Tue, 22 Jul 2014 13:03:26 +0000 (15:03 +0200)]
scrolledwindow: Remove unused variable
Ignacio Casal Quinteiro [Tue, 22 Jul 2014 12:53:16 +0000 (14:53 +0200)]
win32: add css files to EXTRA_DIST
Lapo Calamandrei [Tue, 22 Jul 2014 12:33:44 +0000 (14:33 +0200)]
Adwaita: reduce padding on path bars
Carlos Garnacho [Tue, 22 Jul 2014 11:03:22 +0000 (13:03 +0200)]
treeview: Add back a check to ignore buttons > 3
The removal was not intentional, and still needed as the GtkGestureMultiPress
will work for any button unless told to lock on a single specific one.
Daniel Mustieles [Tue, 22 Jul 2014 10:33:12 +0000 (12:33 +0200)]
Updated Spanish translation
Lapo Calamandrei [Tue, 22 Jul 2014 08:29:01 +0000 (10:29 +0200)]
Adwaita: GtkSwitch in selected list rows
Lapo Calamandrei [Tue, 22 Jul 2014 08:27:49 +0000 (10:27 +0200)]
Adwaita: less distracting active list-rows
Lapo Calamandrei [Tue, 22 Jul 2014 07:58:58 +0000 (09:58 +0200)]
Adwaita: decrease column headers paddings
Lapo Calamandrei [Tue, 22 Jul 2014 07:42:22 +0000 (09:42 +0200)]
Adwaita: stack switcher button needs-attention fix.
Don't draw the dot when the stack switcher button is active.
Matthias Clasen [Tue, 22 Jul 2014 03:03:24 +0000 (23:03 -0400)]
Bump version
Matthias Clasen [Tue, 22 Jul 2014 01:23:49 +0000 (21:23 -0400)]
3.13.5
Matthias Clasen [Tue, 22 Jul 2014 02:04:39 +0000 (22:04 -0400)]
Install a missing file
This was causing the css parser tests to fail in continuous.
Benjamin Otte [Tue, 22 Jul 2014 01:04:01 +0000 (03:04 +0200)]
reftests: Add a reftest for recent widget path fix
The widget path code copies elements only in gtk_widget_path_copy() -
which is essentially unused - and in
gtk_widget_path_append_with_siblings() - which is used by GtkBox.
So stuff the widget we are testing in a GtkBox to reroduce the problem.
Benjamin Otte [Tue, 22 Jul 2014 00:53:06 +0000 (02:53 +0200)]
stylecontext: Query style properties with correct state
Now that widget paths are allowed to have a state, use that state when
querying style properties. This uses a fast path in gtkcssprovider.c and
that is great.
Matthias Clasen [Tue, 22 Jul 2014 00:35:59 +0000 (20:35 -0400)]
GtkWidgetPath: Don't forget to copy the state
gtk_widget_path_copy was not copying the state of each element.
This was showing in "GtkRadioButton:active GtkLabel" not matching
in stack switchers.
Matthias Clasen [Mon, 21 Jul 2014 23:49:11 +0000 (19:49 -0400)]
GtkWidgetPath: Show states in the path string
This shows clearly that some widgets don't set the state on their
path currently.
Matthias Clasen [Mon, 21 Jul 2014 22:35:42 +0000 (18:35 -0400)]
Update expected output for a11y tests
Benjamin Otte [Mon, 21 Jul 2014 23:06:32 +0000 (01:06 +0200)]
stylecontext: Don't do anything with empty widget path
It's a corner case, but empty widget paths don't allow setting
state/regions/classes, so exit early
Fixes gtk/stylecontext test.
Carlos Garnacho [Mon, 21 Jul 2014 19:25:39 +0000 (21:25 +0200)]
gdk: Document the behavior of device grabs on slave devices
This may be useful for certain applications, so document it explicitly.
Carlos Garnacho [Mon, 21 Jul 2014 19:17:31 +0000 (21:17 +0200)]
gdk: Explain the relation between device type and mode
GdkInputMode doesn't apply to all device types, explain why
and how do these interact.
Matthias Clasen [Mon, 21 Jul 2014 18:01:46 +0000 (14:01 -0400)]
inspector: Offer Raleigh as a theme
As long as it is included, might as well offer it.
Matthias Clasen [Mon, 21 Jul 2014 18:00:36 +0000 (14:00 -0400)]
Avoid a compiler warning
Benjamin Otte [Mon, 21 Jul 2014 17:53:12 +0000 (19:53 +0200)]
css: Make commented out debug code work again
Benjamin Otte [Mon, 21 Jul 2014 17:48:01 +0000 (19:48 +0200)]
testsuite: Add test for pseudoclasses
They should all be printable.
Benjamin Otte [Mon, 21 Jul 2014 17:48:35 +0000 (19:48 +0200)]
css: Add printing code for :visited and :link
Don't just crash when those states are encountered
Lapo Calamandrei [Mon, 21 Jul 2014 17:26:41 +0000 (19:26 +0200)]
Adwaita: stack switcher button fixes
Paddings and outline offset are ok now.
Lapo Calamandrei [Mon, 21 Jul 2014 17:22:24 +0000 (19:22 +0200)]
Adwaita: bright outline on suggested/destructive action buttons
Lapo Calamandrei [Mon, 21 Jul 2014 16:49:15 +0000 (18:49 +0200)]
Adwaita: bit padding overhaul
Header-bar and action-bar buttons used to be bigger then others
now everything is as big as those, maintaining two different sizes
for default widgets depending on the placement is a maintainance
nightmare and having controls the same size is good from a usability
point of view.
Matthias Clasen [Mon, 21 Jul 2014 16:39:10 +0000 (12:39 -0400)]
GtkTooltip: Drop an unused variable
The toplevel_window was never set, and the only place where it
was used was causing us to hide tooltips needlessly. So removing
it is a double win.
https://bugzilla.gnome.org/show_bug.cgi?id=733321
Piotr Drąg [Mon, 21 Jul 2014 15:26:12 +0000 (17:26 +0200)]
Updated POTFILES.in and POTFILES.skip
Matthias Clasen [Sat, 19 Jul 2014 06:47:36 +0000 (02:47 -0400)]
inspector: Show misc info
Add yet another tab for showing information about a widget that
does not quite fit into any of the other tabs (not a property,
not style information, etc...).
For now, we show the widget state, as well as the default and
focus widget for windows.
Matthias Clasen [Mon, 21 Jul 2014 10:40:12 +0000 (06:40 -0400)]
gtk-demo: Improve text scroll example
Add numbers, so the lines can be differentiated, even if they
don't move on screen.
Paolo Borelli [Sun, 20 Jul 2014 08:29:09 +0000 (10:29 +0200)]
GtkMenuButton: do not mention GtkArrow in the docs
GtkArrow is deprecated and is not used internally anymore by the
menu button. Document also the fact that if no direction is specified
then the view-context-menu icon is shown.
https://bugzilla.gnome.org/show_bug.cgi?id=733441
Paolo Borelli [Sun, 20 Jul 2014 12:12:30 +0000 (14:12 +0200)]
GtkMenuButton: do not use gpointer for the arrow widget
Just a small cleanup, we can use a proper type.
Lapo Calamandrei [Mon, 21 Jul 2014 13:24:08 +0000 (15:24 +0200)]
Adwaita: header bar buttons padding fix
MarMav [Mon, 21 Jul 2014 09:01:26 +0000 (09:01 +0000)]
Updated Greek translation
Piotr Drąg [Sun, 20 Jul 2014 23:28:15 +0000 (01:28 +0200)]
Updated POTFILES.skip
Benjamin Otte [Sun, 20 Jul 2014 23:00:40 +0000 (01:00 +0200)]
reftests: Add reftest for new pseudoclass support
Piotr Drąg [Sun, 20 Jul 2014 14:21:07 +0000 (16:21 +0200)]
Updated POTFILES.skip
Sébastien Wilmet [Sat, 19 Jul 2014 12:34:53 +0000 (14:34 +0200)]
GtkTextView: use GSlice
GSlice is better for allocating structs.
https://bugzilla.gnome.org/show_bug.cgi?id=733407
Michał Górny [Thu, 12 Jun 2014 15:27:53 +0000 (17:27 +0200)]
Use AC_PATH_TOOL to find build tools.
This improves support for cross-compilation & multilib on Gentoo, where
tools proper for target arch/ABI are prefixed with CHOST.
https://bugzilla.gnome.org/show_bug.cgi?id=731582
Matthias Clasen [Sun, 20 Jul 2014 05:05:41 +0000 (01:05 -0400)]
GtkDialog: Manage action area visibility more carefully
People expect to be able to call gtk_widget_show_all on the dialog
to make action widgets visible, as seen e.g. in
https://bugzilla.gnome.org/show_bug.cgi?id=733431
To keep this working, we can't always set no-show-all on the
action_box. Only set it when the action_area is not used and empty.
Matthias Clasen [Sun, 20 Jul 2014 04:40:11 +0000 (00:40 -0400)]
widget-factory: Show accelerators
We set this up manually here. This could be automated by
constructing the menubar from a menu model.
Matthias Clasen [Sun, 20 Jul 2014 04:42:23 +0000 (00:42 -0400)]
widget-factory: Rename some widgets
Matthias Clasen [Sun, 20 Jul 2014 04:15:03 +0000 (00:15 -0400)]
widget-factory: Add accelerators for some actions
With this, Ctrl-Q will close the window, and Ctrl-D will
toggle the dark theme. The accelerators are currently not
shown in the (manually constructed) menus.
Matthias Clasen [Sun, 20 Jul 2014 04:12:40 +0000 (00:12 -0400)]
GtkMenuItem: fix display of accelerators
The accel label in menus was getting a small allocation that
caused its draw code to always omit the accelerator string.
Fix that by setting halign to fill. To keep the menu label
left-aligned, set xalign to 0 to compensate.
Matthias Clasen [Sun, 20 Jul 2014 03:40:27 +0000 (23:40 -0400)]
GtkModelMenuItem: Make properties readable
This makes the inspector much more useful when dealing
with model menu items.
Matthias Clasen [Sun, 20 Jul 2014 03:37:43 +0000 (23:37 -0400)]
GtkAccelLabel: unconditionally chain up in draw
No need to check, we know for sure that GtkLabel has a draw
function.
Matthias Clasen [Sat, 19 Jul 2014 23:42:56 +0000 (19:42 -0400)]
bloatpad: Add a close button to the accel dialog
Matthias Clasen [Sat, 19 Jul 2014 23:15:58 +0000 (19:15 -0400)]
inspector: Add a font button to the visual tab
The font was already settable via the gtk-font-name property
of the settings object, but this this much more convenient.
Gergely POLONKAI [Thu, 17 Jul 2014 06:41:00 +0000 (06:41 +0000)]
GtkSpinButton: Document some signals
Based on a patch by Gergely Polonkai,
https://bugzilla.gnome.org/show_bug.cgi?id=733174
Matthias Clasen [Sat, 19 Jul 2014 22:27:27 +0000 (18:27 -0400)]
Trivial: Use the canonical signal name
Matthias Clasen [Sat, 19 Jul 2014 21:37:15 +0000 (17:37 -0400)]
Trivial: Move resources into the same prefix
Benjamin Otte [Sat, 19 Jul 2014 21:48:06 +0000 (23:48 +0200)]
notebook: Don't unset state flags on child removal
We don't set any state flags, so we shouldn't unset any either.
Benjamin Otte [Sat, 19 Jul 2014 21:41:42 +0000 (23:41 +0200)]
widget: Add widget state when appending to widget path
Make gtk_widget_path_append_for_widget() add the state flags of the
widget, too.
This enables the ability to select pseudoclasses on all elements in a
selector.